LongIterator

abstract class LongIterator : Iterator<Long>

An iterator over a sequence of values of type Long.

Constructors

LongIterator
Link copied to clipboard
fun LongIterator()

Functions

hasNext
Link copied to clipboard
abstract operator fun hasNext(): Boolean

Returns true if the iteration has more elements.

next
Link copied to clipboard
operator override fun next(): Long

Returns the next element in the iteration.

nextLong
Link copied to clipboard
abstract fun nextLong(): Long

Returns the next value in the sequence without boxing.